<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: admin
  Date: 2019/4/12
  Time: 9:13
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Title</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/bootstrap.css">
    <script src="${pageContext.request.contextPath}/js/jquery-1.12.3.min.js"></script>
    <style>
        img {
            height: 30px;
        }

        ul {
            font-size: 20px;
        }

    </style>

    <script>
        function run1(ele) {
            $(ele).addClass("active").siblings("li").removeClass("active");
        }
    </script>

</head>




<body>
<ul class="nav nav-pills nav-stacked">
    <c:forEach items="${FilePath}" var="en" varStatus="s">
        <li role="presentation"  onclick="run1(this)" <c:if test="${s.count == 1}" > class="active" style="font-size: 30px"</c:if> ><a href="${pageContext.request.contextPath}/file?method=findFlieByPath&path=${en.key}" target="main" ><img src="${pageContext.request.contextPath}/img/${s.count}.png" alt="" class="img-rounded">&nbsp;&nbsp;&nbsp;${en.value}</a></li>
    </c:forEach>
    <li role="presentation"  onclick="run1(this)" style="font-size: 30px"><a href="${pageContext.request.contextPath}/share?method=shareFileList&userName=${user.userName}" target="main" ><img src="${pageContext.request.contextPath}/img/gong.jpg" alt="" class="img-rounded">&nbsp;&nbsp;&nbsp;共享空间</a></li>
</ul>


<div class="container">
    <div class="progress footer navbar-fixed-bottom center-block" style="width: 80%">

        <div class="progress-bar progress-bar-warning progress-bar-striped" role="progressbar" aria-valuenow="10" aria-valuemin="0" aria-valuemax="100" style="width: 10%">
            <p style="color: red">22222T/555555T</p>
        </div>

    </div>
</div>
<br>
<br>
<br>
<%--<div style="width: 80%;" class="row">
    <div class="col-lg-6">
        <div  class="input-group">
            <input type="text" class="form-control" placeholder="输入私人分享文件ID">
            <span class="input-group-btn">
        <button class="btn btn-default" type="button">Open!</button>
      </span>
        </div>
    </div>
</div>--%>

</body>
</html>
